#include <SDL/SDL.h>
#include <stdio.h> 
#include <GL/gl.h>



int main(int argc, char ** argv) { 

  int error;
  error = SDL_Init(SDL_INIT_EVERYTHING);
  int flags = SDL_OPENGL;
  // flags = SDL_OPENGL | SDL_FULLSCREEN;
  SDL_SetVideoMode(480, 640, 0, flags);


  GLint size;
  glGetIntegerv( GL_MAX_TEXTURE_SIZE, & size ) ;

  printf("Max Texture Size: %d\n", size);

  SDL_Quit();
}
